home *** CD-ROM | disk | FTP | other *** search
- /* This is a time delay loop, NOT very accurate, but it does the job */
- #linklib ARCO:LIB/ArCoLIB.lib /* This is the link library I want to */
- /* add this function to */
- TIMEDELAY: /* This is the name of the function */
- PARSE ARG number /* So the object file will be 'timedelay.o */
-
- CALL time 'R' /* reset the timer */
- DO WHILE time('E') < number /* just loop whilst elapsed time is less */
- nop /* than the required time */
- end
- RETURN /* once the required criteria has been met */
- /* return control */
-
-